﻿
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(SysMessage))]
    public class SysMessageDto : Dto
    {
        /// <summary>
        /// 
        /// </summary>
        public DateTime? SendTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? FromUser { get; set; }
        [ConcurrentKeyToValue("9008", "FromUser")]
        public string FromUserText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? ToUser { get; set; }
        [ConcurrentKeyToValue("9008", "ToUser")]
        public string ToUserText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public String BusiType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public String BusiTable { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? BusiID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public String Content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool IsRead { get; set; }

    }
}
